Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / TrimExcess Method


In This Topic
TrimExcess Method
In This Topic
Sets the capacity to the actual number of elements in the ListBase<T>, if that number is less than a threshold value.
Syntax
'Declaration
 
Public Sub TrimExcess() 
 
'Usage
 
Dim instance As ListBase(Of T)
 
instance.TrimExcess()
See Also